package com.manager.car.dao;


import com.manager.car.po.CarRoom;
import com.manager.car.util.PageModel;

public interface ICarRoomDao{

	//query a pagemodel by hql
	public PageModel<CarRoom> queryPageModelByHql(final int pageNo ,final int pageSize,String hql);
	
	//delete CarRoom by id
	public boolean delete(Integer id);
	
	//update CarRoomEndTime now by id
	public boolean updataCarRoomEndTimeById(Integer id);
	
	//add CarRoom Element
	public boolean save(CarRoom car);
}
